<?php

?>
<?php if (!empty($error_string)): ?>
    <!-- Woops... -->
    <div class="error_box">
    <?php echo $error_string; ?>
</div>
<?php endif; ?>
    <div id="content">
        <div id="title_content"><?php echo lang('edit_profile')." "."Catégorie" ?></div>
    <?php echo form_open_multipart('admin_link/edit_category/' . $category_id); ?>
    <table class="form_content" width="100%">
        
            <td width="20%"><?php echo "Nom de la Catégorie"; ?></td>
            <td>
            <?php if (form_error('name')!=""){?> <div class="form_error"><?php echo generate_pure_text(form_error('name'), '<p>', '</p>'); ?></div> <?php } ?>
                    <input type="text" class="form_input" name="name" size="35" maxlength="40" value="<?php  echo set_value('name', $category_name); ?>" /></td>
        </tr>
        
        <tr>
            <td colspan="2"><?php echo form_submit('edit_category', lang('edit_profile')) ?></td>
        </tr>
    </table>
    <?php echo form_close(); ?>
</div>
<!--END content-->
